package com.mindao.app.vpatient.model;

import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.mindao.app.common.spring.model.BaseModel;

/**
/* 版权所有： 广州敏道科技有限公司
/*
/* 功能描述：消息响应配置     之     问题和合适度得分
/*
/* 创 建 人：李国才
/* 创建时间：2016年5月22日 下午3:22:38 	
 **/
@Entity
@Table(name = "vp_wx_msg_word_conf")
public class VpMsgQuestionConf extends BaseModel{
	public static final Long WEIGHT_MATCH_LIMIT=60L;
	public VpMsgQuestionConf(){
		
	}
	public VpMsgQuestionConf(VpMsgConf vpMsgConf, String question,
			BigDecimal suitScore) {
		super();
		this.vpMsgConf = vpMsgConf;
		this.question = question;
		this.suitScore = suitScore;
	}
	/**
	 * 病例消息
	 */
	
	private VpMsgConf vpMsgConf;
	/**
	 * 匹配问题
	 */
	private String question;
	/**
	 * 合适度得分
	 */
	private BigDecimal suitScore;
	
	@ManyToOne//(cascade = { CascadeType.ALL })
	@JoinColumn(name = "wxmsgconf_id", nullable = true)	
	public VpMsgConf getVpWxMsgConf() {
		return vpMsgConf;
	}
	public void setVpWxMsgConf(VpMsgConf vpMsgConf) {
		this.vpMsgConf = vpMsgConf;
	}
	public VpMsgConf getVpMsgConf() {
		return vpMsgConf;
	}
	public void setVpMsgConf(VpMsgConf vpMsgConf) {
		this.vpMsgConf = vpMsgConf;
	}
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public BigDecimal getSuitScore() {
		return suitScore;
	}
	public void setSuitScore(BigDecimal suitScore) {
		this.suitScore = suitScore;
	}
	

	
	
 
}
